#include <bits/stdc++.h>
using namespace std;
int main(){
    int cnt=0;
    int length;
    cin>>length;
    while (length!=1)
    {
        cnt++;
        length/=2;
    }
    cout<<cnt+1;
    return 0;
}